package com.community.web.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.community.model.entity.Parking;
import com.community.web.user.service.ParkingService;
import com.community.web.user.mapper.ParkingMapper;
import com.community.web.user.vo.ParkingVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author admin
* @description 针对表【parking】的数据库操作Service实现
* @createDate 2024-07-02 10:56:56
*/
@Service
public class ParkingServiceImpl extends ServiceImpl<ParkingMapper, Parking>
    implements ParkingService{

    @Autowired
    private ParkingMapper mapper;

    @Override
    public List<ParkingVo> selectList(Long userId) {
        return mapper.getList(userId);
    }
}




